<extend name="Base/common"/>
<block name="body">
	<div class="proDelBox">
		<div class="proDelTranOrderConter">
			<if condition="$list==''">
			<div class="proPublicNoData">
					<span class="icon-tips"></span>
					<p>您尚未交易,页面暂无数据</p>
			</div></if>
			<if condition="$list!=''">
			<volist name="list" id="vo" k="key">
			<div class="proLiBox proDelBorderBottm  defaultXian" <if condition="$key==0">style="margin-top: 0px;<else/>style="margin-top: 20px;</if>">
				<p class="proLiConterTel proDelBorderBottm defaultBlack proDelTranOrderkKell"><span>{$vo['name']} <span class="{$vo[$vo['direction']]}">{$vo['number_direction']}</span></span> <span class="proDelCursor right icon-uniE90B" d-k=false></span></p>
				<div class="proDelTranOrderkKell clearfix defaultAsh proDelBorderBottm" style="display: none;">
					<p class="proLiConterDel clearfix"><span class="left">交割日期</span> <span class="right defaultBlack">{$vo.end_time|date='Y-m-d H:i',###}</span></p>
					<p class="proLiConterDel clearfix"><span class="left">买入价</span> <span class="right defaultBlack">{$vo['open_price']}</span></p>
					<p class="proLiConterDel clearfix"><span class="left">最新价</span> <span class="right defaultBlack">{$vo['last_price']}</span></p>
					<p class="proLiConterDel clearfix"><span class="left">当前状态</span> <span class="right defaultBlack">{$statusData[$vo['status']]}</span></p>
					<p class="proLiConterDel clearfix"><span class="left">买入数量</span> <span class="right defaultBlack">{$vo['number']}</span></p>
				</div>
				<p class="proLiConterDel clearfix proDelTranOrderkKell" style="line-height: 35px;">
					<span class="left">下单:{$vo['create_time']}</span>
					<span class="right defaultBlack">盈亏:<span class="defaultred">{$vo['profit']}</span></span>
				</p>
			</div>
			</volist>
			</if>
		</div>
		<script type="text/javascript">
			$('.proDelCursor').click(function(){
				var dkill=$(this).attr('d-k'),pshow=$(this).parent().parent().find('div');
				if(dkill=='false'){
					pshow.show();
					$(this).attr('d-k','true');
					$(this).removeClass('icon-uniE90B').addClass('icon-uniE909')
					return false;
				}else if(dkill=='true'){
					pshow.hide();
					$(this).attr('d-k','false');
					$(this).removeClass('icon-uniE909').addClass('icon-uniE90B')
					return false;
				}
			})
		</script>

		<!-- 翻页共用 -->
		<!--<div class="proflip-pag">-->
			<!--<div class="proleft">-->
				<!--<span class="icon-uniE910 prolineGradient">上一页</span>-->
			<!--</div>-->
			<!--<div class="proconter">-->
					<!--<div class="proflip-paginput">-->
						<!--<input type="text" placeholder="1/9"/>-->
						<!--<span class="prolineGradient">GO</span>-->
					<!--</div>-->
			<!--</div>-->
			<!--<div class="proright">-->
				<!--<span class="icon-uniE90F prolineGradient">下一页</span>-->
			<!--</div>-->
		<!--</div>-->
		<!-- 翻页共用 -->



	</div>
	<div class="flip-pag">
		{$page}
	</div>
</block>
